package com.zk.shop.service;

import com.zk.shop.pojo.Manager;
import com.zk.shop.pojo.ManagerMenu;

import java.util.List;

public interface ManagerService {
    Manager login(Manager manager);
    Integer pushManager(Manager manager);
    Integer removeManager(Integer mid);
    Integer saveLoginStatus(Manager manager);
    Integer savePassword(Manager manager);
    Integer saveRole(Integer mrole,String mid);
    Integer saveListRole(Integer mrole, List<Manager> arrs);
    List<Manager> manageTableList(Manager manager,Integer page,Integer size);
    Integer getLoginStatusI(Integer mid);
    Integer setPwd(Manager manager);
    Integer updateLoginStatus(Manager manager);
    List<ManagerMenu> getMenuTree(Integer managerid);
}
